package com.scs.application.modules.fsd.service;


import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.fsd.entity.FsdUserRole;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 */
public interface UserRoleService extends IBaseService<FsdUserRole> {
    Boolean saveByUsers(String roleId, String userId);
    List<FsdUserRole> getByRoleId(String roleId);
    List<Map<String, Object>>  getRolesByUserId(String id);

    List<FsdUserRole> getUsersByRole(String id);

    boolean changeUsersByRole(String userIds, String roleId);
}
